import { createRouter, createWebHistory } from 'vue-router';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../views/Home.vue'),
    },
    {
        path: '/sub-app-a',
        name: 'SubAppA',
        component: () => import('../views/SubAppA.vue'),
    },
    {
        path: '/sub-app-b',
        name: 'SubAppB',
        component: () => import('../views/SubAppB.vue'),
    },
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;



